#ifndef FIELD_H
#define FIELD_H

#include <iostream>
#include <string>
#include "OrganizationCommons.h"

class Field
{
	protected:
		int ID;
		std::string name;
		int type;
		int size;

	public:
		Field();
		Field(const Field &toCopy);
		virtual ~Field();

		void set(int ID, campo *campo);
		void get(int &ID, campo *campo);
		int getID();

		const Field &operator=(const Field &toAssign);

		void print();
};

#endif
